const ipc = require('electron').ipcRenderer
import { history } from 'umi';

ipc.on('router', function (event:any, arg:any) {
  console.log("————————"+arg);
    history.push(`${arg}`)
})


ipc.on('getProjectList', function (event:any, arg:any) {
  console.log("————————"+arg);
  history.push(`${arg}`)
})
